class GetalipayModel {
  int id;
  int uid;
  String memberToken;
  String alipayUser;
  String alipayName;

  GetalipayModel(
      {this.id, this.uid, this.memberToken, this.alipayUser, this.alipayName});

  GetalipayModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    uid = json['uid'];
    memberToken = json['member_token'];
    alipayUser = json['alipay_user'];
    alipayName = json['alipay_name'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['uid'] = this.uid;
    data['member_token'] = this.memberToken;
    data['alipay_user'] = this.alipayUser;
    data['alipay_name'] = this.alipayName;
    return data;
  }
}
